// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import vueSwiper from './plug/vue-awesome-swiper' //触摸轮播组件
import FastClick from 'fastclick'
import rem from './js/rem'
import 'mint-ui/lib/style.css'//mint-ui css

import http from './js/axios' // ajax
import Common from './js/util' // 全局方法属性
Vue.prototype.http = http

Vue.use(Common)
Vue.use(vueSwiper)

//设置false去除多余提示
Vue.config.productionTip = false
FastClick.attach(document.body);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
